#pragma once


#include "CollectDocument.h"

class CCollectConfigView :
	public CVisionConfigView
{
public:
	CCollectConfigView(void);
	~CCollectConfigView(void);          // protected constructor used by dynamic creation
	DECLARE_DYNCREATE(CCollectConfigView)

// Form Data
public:
	//{{AFX_DATA(CVisionConfigView)
		// NOTE: the ClassWizard will add data members here
	//}}AFX_DATA

// Attributes
public:

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CVisionConfigView)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	virtual void OnInitialUpdate(); // called first time after construct
//	virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
//	virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
//	virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
//	virtual void OnPrint(CDC* pDC, CPrintInfo* pInfo);
	//}}AFX_VIRTUAL
// Attributes
public:
	CCollectDocument* GetDocument();
	
	virtual void LoadIcons();
// Implementation
protected:
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

	// Generated message map functions
	//{{AFX_MSG(CVisionConfigView)
		// NOTE - the ClassWizard will add and remove member functions here.
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
public:
	bool CreateRibbonBar(void);
	virtual void OnActivateView(BOOL bActivate, CView* pActivateView, CView* pDeactiveView);
	afx_msg void OnCollectCheck();
};

#ifndef _DEBUG  // debug version in DocViewFromDLLView.cpp
inline CCollectDocument* CCollectConfigView::GetDocument()
   { return (CCollectDocument*)m_pDocument; }
#endif

